/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-08-03     liuchao       the first version
 */
#ifndef APPLICATIONS_LED_BEEP_H_
#define APPLICATIONS_LED_BEEP_H_

#include <drv_panel.h>

typedef enum
{
    PANEL_LED_RED = PANEL_RED,
    PANEL_LED_GREEN = PANEL_GREEN,
    PANEL_LED_YELLOW = PANEL_YELLOW,
    PANEL_BEE = PANEL_BEEP,
    LED_SYS,
    LED_BEEP_END
} led_beep_e;

typedef enum
{
    LED_NOTIFY_MODE_OFF,
    LED_NOTIFY_MODE_ON,
    LED_NOTIFY_MODE_NORMAL_1,
    LED_NOTIFY_MODE_NORMAL_2,
    LED_NOTIFY_MODE_ALARM_1,
    LED_NOTIFY_MODE_ALARM_2,
    LED_NOTIFY_MODE_ALARM_NET_DOWN,
    LED_NOTIFY_MODE_ALARM_HY_STOP,
    LED_NOTIFY_MODE_BOOT,
} led_notify_mode_e;

void led_beep(led_beep_e led_beep, led_notify_mode_e mode);

#endif /* APPLICATIONS_LED_BEEP_H_ */
